﻿<Window x:Class="miniTodo.View.EditTodoView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Edit" Height="200" Width="250">
	<Window.BindingGroup>
		<BindingGroup/>
	</Window.BindingGroup>
    <DockPanel>
		<TextBlock DockPanel.Dock="Top">Title</TextBlock>
		<TextBox Name="_titleText" Text="{Binding Path=Title}" DockPanel.Dock="Top"/>
		<StackPanel DockPanel.Dock="Bottom" Orientation="Horizontal" HorizontalAlignment="Right" >
			<Button IsCancel="True" Click="CancelButton_Click">_Cancel</Button>
			<Button IsDefault="True" Click="OkButton_Click">_OK</Button>
		</StackPanel>
		<Expander Header="その他" DockPanel.Dock="Bottom">
			<WrapPanel>
				<CheckBox IsChecked="{Binding Path=IsDone}" Margin="2">完了</CheckBox>
				<CheckBox IsChecked="{Binding Path=IsDeleted}" Margin="2">削除</CheckBox>

			</WrapPanel>
		</Expander>
		<TextBlock DockPanel.Dock="Top">Memo</TextBlock>
		<TextBox Text="{Binding Path=Memo}" AcceptsReturn="True"/>
	</DockPanel>
</Window>
